const Mock = require('mockjs')

const data = [{
  name: 'My first traget Teams set their own objectives',
  weight: '20%',
  date: '1/31/20'
}, {
  name: 'Metal manufacturing — France — 500 employees',
  weight: '30%',
  date: '10/6/20'
}, {
  name: 'Health Care — Netherlands — 9,000 people — non-profit',
  weight: '20%',
  date: '9/23/20'
}, {
  name: 'Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint. Velit officia consequat duis enim velit mollit. Exercitation veniam consequat sunt nostrud amet.',
  weight: '10%',
  date: '2/11/20'
}, {
  name: 'Metal manufacturing — France — 500 employees',
  weight: '20%',
  date: '10/6/20'
}, {
  name: 'My first traget Teams set their own objectives',
  weight: '20%',
  date: '1/31/20'
}, {
  name: 'Metal manufacturing — France — 500 employees',
  weight: '30%',
  date: '10/6/20'
}, {
  name: 'Health Care — Netherlands — 9,000 people — non-profit',
  weight: '20%',
  date: '9/23/20'
}, {
  name: 'Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint. Velit officia consequat duis enim velit mollit. Exercitation veniam consequat sunt nostrud amet.',
  weight: '10%',
  date: '2/11/20'
}, {
  name: 'Metal manufacturing — France — 500 employees',
  weight: '20%',
  date: '10/6/20'
}, {
  name: 'My first traget Teams set their own objectives',
  weight: '20%',
  date: '1/31/20'
}, {
  name: 'Metal manufacturing — France — 500 employees',
  weight: '30%',
  date: '10/6/20'
}, {
  name: 'Health Care — Netherlands — 9,000 people — non-profit',
  weight: '20%',
  date: '9/23/20'
}, {
  name: 'Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint. Velit officia consequat duis enim velit mollit. Exercitation veniam consequat sunt nostrud amet.',
  weight: '10%',
  date: '2/11/20'
}, {
  name: 'Metal manufacturing — France — 500 employees',
  weight: '20%',
  date: '10/6/20'
}];

module.exports = [{
  url: '/home/list',
  type: 'get',
  response: config => {
    const items = data.items
    return {
      code: 20000,
      data
    }
  }
}]
